package com.woniuxy.goods.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * 新增鉴定记录对象
 */
@Data
@ApiModel("新增鉴定记录")
public class AddAppraisalForm {

    /**
     * 典当物品id
     */
    @ApiModelProperty("典当物品id")
    @NotNull
    private Integer goodsId;

    /**
     * 新旧程度
     */
    @ApiModelProperty("新旧程度")
    @NotBlank
    private String goodsQuality;

    /**
     * 备注
     */
    @ApiModelProperty("备注")
    @NotBlank
    private String remark;

    /**
     * 鉴定结果
     */
    @ApiModelProperty("鉴定结果")
    @NotBlank
    private String appraisalResult;
}
